﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Bieu_do_log_cuoi_thi_nghiem.ascx.cs" Inherits="Thi_nghiem_nen_ket_co_thong_tin.Bieu_do_log_cuoi_thi_nghiem" %>
<%@ Register assembly="DevExpress.Web.v14.2, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>



<%@ Register assembly="DevExpress.XtraCharts.v14.2.Web, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts.Web" tagprefix="dxchartsui" %>
<%@ Register assembly="DevExpress.XtraCharts.v14.2, Version=14.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.XtraCharts" tagprefix="cc1" %>

<style type="text/css">

    .dxeBase { font: 12px Tahoma, Geneva, sans-serif; }

    .auto-style1 { width: 221px; }

    .auto-style2 { width: 219px; }

    .auto-style3 { width: 251px; }

    .auto-style4 { width: 127px; }

    .auto-style5 { width: 110px; }

    .auto-style6 { width: 71px; }

    .auto-style7 {
    }

    .auto-style8 { width: 74px; }

    .auto-style9 { height: 21px; }

    .auto-style10 {
        width: 15px;
    }
</style>


<div align="center">
    <dx:ASPxLabel ID="ASPxLabel1" runat="server" Font-Size="Large" Text="THÍ NGHIỆM NÉN KẾT CỐ - CONSOLIDATION TEST">
    </dx:ASPxLabel>
</div>


<table style="width: 100%;">
    <tr>
        <td class="auto-style1">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
    <tr>
        <td class="auto-style1">
            <asp:Label ID="Label1" runat="server" Font-Bold="False" Font-Size="Large" Text="Công Trình - Project"></asp:Label>
        </td>
        <td colspan="2">
            <dx:ASPxGridLookup ID="cong_trinh" runat="server" Width="100%">
            </dx:ASPxGridLookup>
        </td>
    </tr>
    <tr>
        <td class="auto-style1">
            <asp:Label ID="Label2" runat="server" Font-Bold="False" Font-Size="Large" Text="Hạng mục - Item"></asp:Label>
        </td>
        <td colspan="2">
            <dx:ASPxGridLookup ID="hang_muc" runat="server" Width="100%">
            </dx:ASPxGridLookup>
        </td>
    </tr>
    <tr>
        <td class="auto-style1">
            <asp:Label ID="Label3" runat="server" Font-Bold="False" Font-Size="Large" Text="Địa điểm - Location"></asp:Label>
        </td>
        <td colspan="2">
            <dx:ASPxGridLookup ID="dia_diem" runat="server" Width="100%">
            </dx:ASPxGridLookup>
        </td>
    </tr>
</table>
<table style="width: 100%;">
    <tr>
        <td class="auto-style2">
            <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Số mẫu TN - Lab No:">
            </dx:ASPxLabel>
        </td>
        <td class="auto-style3">
            <dx:ASPxTextBox ID="txt_so_mau" runat="server" Width="100%">
            </dx:ASPxTextBox>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style4">
            <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Số mẫu TN - Lab No:">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxTextBox ID="txt_so_hieu" runat="server" Width="100%" style="margin-left: 0px">
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td class="auto-style2">
            <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Số mẫu TN - Lab No:">
            </dx:ASPxLabel>
        </td>
        <td class="auto-style3">
            <dx:ASPxTextBox ID="txt_lo_khoan" runat="server" Width="100%">
            </dx:ASPxTextBox>
        </td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style4">
            <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Số mẫu TN - Lab No:">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxTextBox ID="txt_do_sau" runat="server" Width="100%">
            </dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td class="auto-style2">&nbsp;</td>
        <td class="auto-style3">&nbsp;</td>
        <td class="auto-style5">&nbsp;</td>
        <td class="auto-style4">&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
</table>
<table style="width: 100%;">
    <tr>
        <td class="auto-style9" valign="top" colspan="4">
 
            <dx:ASPxLabel ID="lblErr" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="Red">
            </dx:ASPxLabel>

        </td>
    </tr>
    <tr>
        <td class="auto-style9" valign="top">
 
            <script type="text/javascript">
                function getValue() {
                    var str = "";
                    var rem = document.querySelectorAll("[id*='Bieu_do_log_cuoi_thi_nghiem1_dataGridView_DXDataRow']"),i = 1;
                    for (; i < rem.length; i++) {
                        var txt = rem[i].innerHTML.replace(/;/g,"").replace(/|/g,"").replace(/<[^>]*>/g, ";");//alert(rem[i].innerHTML);
                        txt += "|";
                        str +=txt;
                    }
                    document.getElementById('<%=HgridData.ClientID%>').value = str;
                }
            </script>
            <dx:ASPxGridView ID="dataGridView" runat="server" AutoGenerateColumns="False" KeyFieldName="Id" OnBatchUpdate="ASPxGridView1_BatchUpdate" ClientInstanceName="dataGridView" Width="100%">
                <Columns>
                    <dx:GridViewCommandColumn ShowEditButton="True" VisibleIndex="0" Visible="False">
                    </dx:GridViewCommandColumn>
                    <dx:GridViewDataTextColumn Caption="Lực nén" FieldName="lucNen" VisibleIndex="1" Width="70px">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Số đọc" FieldName="soDoc" VisibleIndex="2" Width="70px">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Hệ số rỗng" FieldName="heSoRong" VisibleIndex="3" Width="70px">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Id" FieldName="Id" Visible="False" VisibleIndex="4">
                    </dx:GridViewDataTextColumn>
                </Columns>
                <SettingsBehavior AllowGroup="False" AllowSort="False" />
                <SettingsBehavior AllowFocusedRow="True" />
                <SettingsPager Mode="ShowAllRecords">
                </SettingsPager>
                <SettingsEditing Mode="Batch">
                    <BatchEditSettings StartEditAction="DblClick" />
                </SettingsEditing>
                <Settings ShowGroupButtons="False" ShowHeaderFilterBlankItems="False" />
                <SettingsCommandButton>
                    <UpdateButton Text="  ">
                    </UpdateButton>
                    <CancelButton Text="  ">
                    </CancelButton>
                </SettingsCommandButton>
                <SettingsDataSecurity AllowDelete="False" AllowInsert="False" />
            </dx:ASPxGridView>

        </td>
        <td colspan="3" class="dxflEmptyItem">
            <dxchartsui:WebChartControl ID="chartControl" runat="server" Height="334px" Width="809px">
            </dxchartsui:WebChartControl>
        </td>
    </tr>
    <tr>
        <td class="auto-style7" align="center" valign="middle" rowspan="2">
            <asp:Button ID="btCompleted" runat="server" OnClick="btCompleted_Click" OnClientClick=" getValue() " Text="Completed" Height="38px" Width="125px" />
        </td>
        <td>
            <dx:ASPxLabel ID="lab_Pc" runat="server" Text="Pc = ... KPa" Width="200px">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxLabel ID="lab_Cc" runat="server" Text="Cc = ..." Width="200px">
            </dx:ASPxLabel>
        </td>
        <td>
            <dx:ASPxLabel ID="lab_Cs" runat="server" Text="Cs = ..." Width="200px">
            </dx:ASPxLabel>
        </td>
    </tr>
    <tr>
        <td class="auto-style10">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>
</table>
<asp:HiddenField ID="HgridData" runat="server" />
<asp:HiddenField ID="HnoOfData" runat="server" />
